﻿<center>
    <div style="margin-top: 10px">
        <input class="dc_process_save" type="button" value="保存" />
        @Html.ActionLink("回到列表", "Index", "Workflow")
    </div>
</center>
@{Html.Telerik().PanelBar().Name("PanelBar").SelectedIndex(0)
      .HtmlAttributes(new { style = "width: 98%; float: left; margin: 10px;" })
      .Effects(fx => { fx.Expand(); fx.Toggle(); })
      .Items(i =>
      {
          i.Add()
              .Text("定义表单")
              .ImageUrl("~/images/59.png")
              .ImageHtmlAttributes(new { alt = "Field Icon", @class = "process_designcontainer_title_img" })
              .Expanded(true)
              .Content(@<ul class="ws-fields">
              </ul>);
          i.Add()
             .Text("定义条件").Expanded(false)
             .ImageUrl("~/images/59.png")
             .ImageHtmlAttributes(new { alt = "Condition Icon", @class = "process_designcontainer_title_img" })
             .Expanded(true)
             .Content(@<ul class="ws-conditions workplace-ul">
             </ul>);

          i.Add()
                 .Text("定义角色")
                 .ImageUrl("~/images/59.png")
                 .ImageHtmlAttributes(new { alt = "Field Icon", @class = "process_designcontainer_title_img" })
                 .Expanded(true)
                 .Content(@<ul class="ws-participants workplace-ul">
                 </ul>);

          i.Add()
                .Text("定义条件-->环节结果条件")
                .ImageUrl("~/images/59.png")
                .ImageHtmlAttributes(new { alt = "Tasks Icon", @class = "process_designcontainer_title_img" })
                .Expanded(true)
        .Content(@<ul class="ws-activityresults workplace-ul">
        </ul>);
          i.Add()
                .Text("定义环节").Expanded(false)
                .ImageUrl("~/images/59.png")
                .ImageHtmlAttributes(new { alt = "activity Icon", @class = "process_designcontainer_title_img" })
                .Expanded(true)
                .Content(@<ul class="ws-activities workplace-ul">
                </ul>);
          i.Add()
             .Text("描述及注意事项").Expanded(false)
             .ImageUrl("~/images/59.png")
             .ImageHtmlAttributes(new { alt = "Notes Icon", @class = "process_designcontainer_title_img" })
             .Content(@<div>@Html.Partial("Descriptions")</div>);
      }).Render(); 
}
@*<center><div style=""><input class="dc_process_save" type="button" value="保存"/><input class="dc_process_alive" type="button" value="生效"/></div></center>
*@